package com.library.domain;


import com.library.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 签到积分表 bo_sign_integral
 *
 * @author wanghongjie
 * @date 2020-01-18
 */
public class BoSignIntegral extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer id;
    /**
     * 调整数量
     */
    private Integer adjustNumber;
    /**
     * 调整前
     */
    private Integer beforeAdjust;
    /**
     * 调整后
     */
    private Integer afterAdjust;
    /**
     * 调整原因
     */
    private String adjustReason;
    /**
     * 调整类型
     */
    private String adjustType;
    /**
     * 调整人
     */
    private String userId;
    /**
     * 调整会员
     */
    private Integer membersId;
    /**
     * 会员实体对象
     */
    private BoMembers members;
    /**
     * 扩展字段1(表示签到时间)
     */
    private String ext1;
    /**
     * 扩展字段2
     */
    private String ext2;
    /**
     * 扩展字段3
     */
    private String ext3;


    public BoMembers getMembers() {
        return members;
    }

    public void setMembers(BoMembers members) {
        this.members = members;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setAdjustNumber(Integer adjustNumber) {
        this.adjustNumber = adjustNumber;
    }

    public Integer getAdjustNumber() {
        return adjustNumber;
    }

    public void setBeforeAdjust(Integer beforeAdjust) {
        this.beforeAdjust = beforeAdjust;
    }

    public Integer getBeforeAdjust() {
        return beforeAdjust;
    }

    public void setAfterAdjust(Integer afterAdjust) {
        this.afterAdjust = afterAdjust;
    }

    public Integer getAfterAdjust() {
        return afterAdjust;
    }

    public void setAdjustReason(String adjustReason) {
        this.adjustReason = adjustReason;
    }

    public String getAdjustReason() {
        return adjustReason;
    }

    public void setAdjustType(String adjustType) {
        this.adjustType = adjustType;
    }

    public String getAdjustType() {
        return adjustType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setMembersId(Integer membersId) {
        this.membersId = membersId;
    }

    public Integer getMembersId() {
        return membersId;
    }


    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3;
    }

    public String getExt3() {
        return ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("adjustNumber", getAdjustNumber())
                .append("beforeAdjust", getBeforeAdjust())
                .append("afterAdjust", getAfterAdjust())
                .append("adjustReason", getAdjustReason())
                .append("adjustType", getAdjustType())
                .append("userId", getUserId())
                .append("membersId", getMembersId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("ext1", getExt1())
                .append("ext2", getExt2())
                .append("ext3", getExt3())
                .toString();
    }
}
